package com.nlelpct.manage.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小马
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("company")
public class Company extends Model<Company> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 创建时间
     */
    private LocalDateTime cjsj;

    /**
     * 修改时间
     */
    private LocalDateTime xgsj;

    /**
     * 员工人数上限
     */
    private Long maxLimit;

    /**
     * 证书过期时间
     */
    private LocalDateTime lisence;

    /**
     * 企业ID，外键关联
     */
    private String companyBasicInfoId;

    /**
     * 0.禁用  1.正常  2.删除
     */
    private Integer zt;

    /**
     * 企业在所在系统的名称
     */
    private String xtmc;

    /**
     * 企业所在系统logo,  ---> ossKey
     */
    private String xtlogo;

    /**
     * 所属系统
     */
    private String systemId;


    public static final String ID = "id";

    public static final String CJSJ = "cjsj";

    public static final String XGSJ = "xgsj";

    public static final String MAX_LIMIT = "max_limit";

    public static final String LISENCE = "lisence";

    public static final String COMPANY_BASIC_INFO_ID = "company_basic_info_id";

    public static final String ZT = "zt";

    public static final String XTMC = "xtmc";

    public static final String XTLOGO = "xtlogo";

    public static final String SYSTEM_ID = "system_id";



}
